package com.dgh.school.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Clerk {

    private int cid;

    private String cname;

    private boolean cgender;

    private int cage;

    private String cphone;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date cjoinTime;

    private String cdepartment;

    private String cduty;

    private String cemail;


}
